package org.exez.modules.visitor.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.exez.common.api.vo.Result;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 到访类型表
 * @Author: exez-boot
 * @Date:   2020-06-04
 * @Version: V1.0
 */
@Data
@TableName("visitor_visit_type")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="visitor_visit_type对象", description="到访类型表")
public class VisitType{

	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
	private java.lang.Integer id;
	/**到访类型名称*/
	@Excel(name = "到访类型名称", width = 15)
    @ApiModelProperty(value = "到访类型名称")
	private java.lang.String typeName;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy/MM/dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy/MM/dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy/MM/dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private java.util.Date createTime;
	/**修改时间*/
	@Excel(name = "修改时间", width = 20, format = "yyyy/MM/dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy/MM/dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy/MM/dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
	private java.util.Date updateTime;

	/**
	 * 0：删除 1：未删除
	 */
	@Excel(name = "0：删除 1：未删除", width = 15)
	@ApiModelProperty(value = "0：删除 1：未删除")
	private Integer deleted;
}
